/* Custom styles for JavaScript Framework Article */
:root {
    --primary-color: #2d3436;
    --secondary-color: #0984e3;
    --accent-color: #00b894;
    --text-color: #2d3436;
    --gradient: linear-gradient(135deg, #0984e3 0%, #00b894 100%);
}

/* Base typography */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #f8f9fa;
    color: var(--text-color);
    line-height: 1.7;
}

/* Gradient heading effect */
.gradient-heading {
    background-image: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Framework highlight cards */
.framework-card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    background: white;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.05);
}

.framework-card:hover {
    transform: translateY(-0.5rem);
}

/* Styled list items with icons */
.list-styled {
    list-style: none;
    padding-left: 0;
}

.list-styled li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.list-styled li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Section separator */
.section-separator {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 2rem 0;
    border-radius: 2px;
}


/* Performance Metrics */
.performance-meter {
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
}

/* Learning Curve Visualization */
.learning-curve {
    position: relative;
    height: 100px;
    margin: 2rem 0;
}

.curve-bar {
    position: absolute;
    bottom: 0;
    width: 30%;
    border-radius: 8px 8px 0 0;
    transition: height 0.4s ease;
}

/* Ecosystem Cards */
.ecosystem-card {
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

.ecosystem-card:hover {
    transform: translateX(10px);
}

/* Use Case Grid */
.use-case-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Verdict Highlights */
.verdict-highlight {
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.verdict-highlight:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(10px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}